<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<head>
<title>用户设置</title>
<%@ include file="/WEB-INF/jsp/public/common.jspf"%>
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/style/css/center.css">

</head>
<body>

	<!-- 标题显示 -->
	<div id="Title_bar">用户设置</div>

	<div class="container">
		<div class="row">
			<div class="col-md-6 col-md-offset-3 panel panel-default">

				<h1 class="margin-base-vertical">密码修改页面</h1>

				<s:form action="userAction_editPassword"
					class="margin-base-vertical">
					<s:hidden name="id"></s:hidden>
					<table class="table">
					
						<tr>
							<td>原密码:</td>
							<td>
								<s:textfield type="password" name="oldPwd" ></s:textfield><small style="color:red;">*</small>
								
							</td>
							<td>
<%-- 								<s:fielderror fieldName="oldPwd.error"></s:fielderror> --%>
								<s:fielderror cssStyle="color:red;" fieldName="oldPwd.error"></s:fielderror>
							</td>
						</tr>
						<tr>
							<td>新密码:</td>
							<td>
								<s:textfield type="password" name="pwd" ></s:textfield><small style="color:red;">*</small>
							</td>
						</tr>
						<tr>
							<td>确认密码:</td>
							<td>
								<s:textfield type="password" name="confirmPwd" ></s:textfield>
								<s:fielderror cssStyle="color:red;" fieldName="pwd.required"></s:fielderror>
								<s:fielderror cssStyle="color:red;" fieldName="pwd.notEqual"><small style="color:red;">*</small></s:fielderror>
								<%-- <s:fielderror fieldName="pwd.required"></s:fielderror>
								<s:fielderror fieldName="pwd.notEqual"></s:fielderror> --%>
							</td>
						</tr>
							<tr>
							<td><a class="btn btn-primary"
								href="javascript:history.go(-1);">返回</a></td>
							<td><button type="submit" class="btn btn-primary">提交</button></td>
						</tr>
					</table>
				</s:form>
			</div>
			<!-- //main content -->
		</div>
		<!-- //row -->
	</div>
	<!-- //container -->

<!-- 
	<script type="text/javascript">
		$('.form_date').datetimepicker({
			language : 'zh',
			weekStart : 1,
			todayBtn : 1,
			autoclose : 1,
			todayHighlight : 1,
			startView : 2,
			minView : 2,
			forceParse : 0
		});
	</script> -->
</body>
</html>
